package min.chapter.three;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class InjectionObjectAcquisition {
	public static void main(String[] args) {
		ApplicationContext context = new FileSystemXmlApplicationContext("src/Injection.xml");
		
		InjectionInterface obj = (InjectionInterface)context.getBean("service");
		System.out.println("START////!!");
		obj.printMessage();
		System.out.println("E N D !*(#&@#!*($&*(!");
	}
}
